#include <stdio.h>
#include <stdlib.h>
#include <signal.h>

void handle_sigint(int signal){
	printf("received signal: %d, and kill process.\n", signal);
	exit(0);
}

int main(){
	signal(SIGINT, handle_sigint);
	while(1){
		printf("Hello World\n");
		sleep(1);
	}
	return 0;
}
